package com.chouxiaozi.abstractfactory;

public class AbstractTest {
    public static void main(String[] args) {
        IProductFactory productFactory = new MiProductFactory();
        productFactory.createPhone().create();
        productFactory = new AppleProductFactory();
        productFactory.createPhone().create();
    }
}
